package com.ms.p2p.plugin;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import java.util.List;

/**
 * 自动注册插件
 *
 */
public abstract class AutoRegisterPlugin implements IPlugin {
	
	protected final Log logger = LogFactory.getLog(getClass());
	protected List<IPluginBundle> bundleList;

	public List<IPluginBundle> getBundleList() {
		return bundleList;
	}

	public void setBundleList(List<IPluginBundle> bundleList) {
		this.bundleList = bundleList;
	}

	public abstract void register();
}
